home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _6E50B76B03C74AC781A10B85FCBBB8E4 < prev    next >
Encoding:
Text File  |  2004-06-16  |  1.7 KB  |  92 lines

  1.  
  2. shader()
  3. {// >=gf3
  4.     SurfaceID(SRFTYPE)
  5.     Shaderquality(3)
  6.     NoLightmaps()
  7.     pass()
  8.     {
  9.         Lighting()
  10.         Pixelshader("CT_Rocks.psh")
  11.  
  12.         !include("__Tex1.mtt")
  13.         !include("__Clouds.mtt")
  14.         !include("__TerrainColormap.mtt")
  15.  
  16.         !include("__FadeGen.mtt")
  17.         !include("__LightningDiffuseOnly.mtt")
  18.  
  19.     }
  20.  
  21.     lightpass()
  22.     !include("Spot1Tex.mtt")
  23.  
  24.     Cull("cw")
  25. }
  26.  
  27.  
  28. shader()
  29. {//gf3
  30.     SurfaceID(SRFTYPE)
  31.     Shaderquality(1)
  32.     NoLightmaps()
  33.     pass()
  34.     {
  35.         Lighting()
  36.         Pixelshader("CT_Rocks_VeryLow.psh")
  37.  
  38.         !include("__Tex1.mtt")
  39.         !include("__TerrainColormap.mtt")
  40.  
  41.         !include("__FadeGen.mtt")
  42.         !include("__LightningDiffuseOnly.mtt")
  43.  
  44.     }
  45.  
  46.     lightpass()
  47.     !include("Spot1Tex.mtt")
  48.  
  49.     Cull("cw")
  50. }
  51.  
  52. shader()
  53. {//gf2
  54.     SurfaceID(SRFTYPE)
  55.     NoLightmaps()
  56.     pass()
  57.     {
  58.         Lighting()
  59.         tmu()
  60.         {
  61.             TexGen("planar")
  62.             TexMod("scale", "const", %terrain_inv_x, 0, 0, "const", %terrain_inv_z, 0, 0)
  63.             texture()
  64.             {
  65.                 Image(%colortexture)
  66.                 addressfunc("clamp", "clamp", "clamp")
  67.             }
  68.         }
  69.  
  70.  
  71.         tmu()
  72.         {
  73.             texture()
  74.             {
  75.                 Mapchannel(0)
  76.                 Image(TEXTURE1)
  77.                 !include(TEX1OPTIONSFILE)
  78.             }
  79.             ColorOp("mul", "texture", "current", "current")     //texture * lighting
  80.             AlphaOp("arg2", "texture", "diffuse", "current")    //fadeblending
  81.         }
  82.  
  83.         !include("__FadeGenDayColorGF2.mtt")
  84.  
  85.         !include("__LightningColorsGF2.mtt")
  86.     }
  87.     lightpass()
  88.     !include("spot_spotmap.mtt")
  89.     Cull("cw")
  90. }
  91.  
  92.